<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	
	//全网
	int sumScore = (Integer) session.getAttribute("sumScore");//总积分
	int receivedScore = (Integer) session.getAttribute("receivedScore");//已领取积分
	int unReceiveScore = (Integer) session.getAttribute("unReceiveScore");//未领取积分
	int cancelScore = (Integer) session.getAttribute("cancelScore");//作废积分
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
	<head>
		<base href="<%=basePath%>">
		<title>北京 17113.cc</title>
		<link REL="stylesheet" TYPE="text/css" HREF="css/style.css">
		
<script  language="javascript">
function getAllUser_submit(){
  document.form1.action="/doUser.do?opers=getAllUser&flag=2";//这里写ACTION
  document.form1.submit();//提交表单
 }
</script>
		
	</head>

	<body text="#000000" leftmargin="0" topmargin="7" bgcolor="#FFFFFF">
		<form action="" method="post" id="form1"name="form1">
			<table border="0" cellspacing="0" cellpadding="0" align="center">
			<tr>
				<td rowspan="3">
					<img src="admin/img/welcome.gif" border="0"/ >
				</td>
				<td>
					<table border="0" cellspacing="0" cellpadding="0"
						align="center">
						<tr>
							<td height="40">
								<img src="images/s-but.gif" width="10" height="13" border="0">
								&nbsp;
								<a href="javascript:getAllUser_submit();"><font
									size="3">用户管理</font>
								</a>
							</td>
							<td height="40">
								<img src="images/s-but.gif" width="10" height="13" border="0">
								&nbsp;
								<a href="/doScore.do?opers1=getAllScore&state=2&scoreType=0&uidOrAccount=0"><font
									size="3">积分管理</font>
								</a>
							</td>
						</tr>
						<tr>
							<td height="40" colspan='2'>
								<img src="images/s-but.gif" width="10" height="13" border="0">
								&nbsp;
								<a href="/doJok.do?opers2=getAllJok&type=0"><font
									size="3">笑话/人生语录 管理</font>
								</a>||
								<a href="admin/addJoks.jsp"><font
									size="3">添加</font>
								</a>								
							</td>
						</tr>
						<tr>
							<td height="40">
								<img src="images/s-but.gif" width="10" height="13" border="0">
								&nbsp;
								<a href="/doJok.do?opers2=getAllComment&flag=2"><font
									size="3">评论管理</font>
								</a>
							</td>
							<td height="40">
								<img src="images/s-but.gif" width="10" height="13" border="0">
								&nbsp;
								<a href="/doUser.do?opers=adminExit"><font size="3">注销登陆</font>
								</a>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		</form>
		<br/>
		<TABLE cellSpacing=0 cellPadding=5 width=760 align=center border=0>
			<TBODY>
				<tr>
					<td>
						<table width="100%" border="1" cellspacing="1" cellpadding="0"
							bgcolor="737373" bordercolor="#FFFFFF">
							<tr>
								<td>
									<table width="100%" border="1" cellspacing="0" cellpadding="0">
										<tr>
											<td bgcolor="B4B4B4" height="20" rowspan="2" align="center">
												<strong>全网用户积分情况：</strong>
											</td>
											<td bgcolor="B4B4B4" height="20">
												<strong><font color="green">总积分：</font><%=sumScore%> </strong>
											</td>
											<td bgcolor="B4B4B4" height="20">
												<strong><font color="red">已兑换总积分：</font><%=receivedScore%> </strong>
											</td>
										</tr>
										<tr>
											<td bgcolor="B4B4B4" height="20">
												<strong><font color="red">作废总积分：</font><%=cancelScore%> </strong>
											</td>
											<td bgcolor="B4B4B4" height="20">
												<strong><font color="green">剩余可用总积分：</font><%=unReceiveScore%> </strong>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</TBODY>
		</TABLE>
		<br/>
		<table width="760" border="0" cellspacing="0" cellpadding="5"
			align="center">
			<tr>
				<td bgcolor="B4B4B4" height="10"></td>
			</tr>
			<tr>
				<td align="center">
					版权所有®2011 北京17113.cc. 保留所有权利. 冀ICP备11028198号
				</td>
			</tr>
		</table>
	</body>
</html>






